Spread Silverlight Documentation
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcAccrintFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 6 - 8 items: issue, first_interest, settlement, rate, par, frequency, [basis], [calc_method].

Issue is the security's issue date.

First_interest is the security's first interest date.

Settlement is the security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.

Rate is the security's annual coupon rate.

Par is the security's par value. If you omit par, ACCRINT uses $1,000.

Frequency is the number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.

Basis is the type of day count basis to use.

Returns the System.Double accrued interest for a security that pays periodic interest.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As System.Object _
) As System.Object
'Usage
 
Dim instance As CalcAccrintFunction
Dim args() As System.Object
Dim value As System.Object
 
value = instance.Evaluate(args)
public override System.object Evaluate( 
   System.object[] args
)

Parameters

args

The args contains 6 - 8 items: issue, first_interest, settlement, rate, par, frequency, [basis], [calc_method].

Issue is the security's issue date.

First_interest is the security's first interest date.

Settlement is the security's settlement date. The security settlement date is the date after the issue date when the security is traded to the buyer.

Rate is the security's annual coupon rate.

Par is the security's par value. If you omit par, ACCRINT uses $1,000.

Frequency is the number of coupon payments per year. For annual payments, frequency = 1; for semiannual, frequency = 2; for quarterly, frequency = 4.

Basis is the type of day count basis to use.

Return Value

A System.Double value that indicates the evaluate result.
See Also

Reference

CalcAccrintFunction Class
CalcAccrintFunction Members
Overload List